﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="menu.aspx.cs" Inherits="menu1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>メニュー</title>
    <meta   http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link type="text/css" rel="stylesheet" href="css/global.css" />
    <script src="js/jquery-1.6.min.js" type="text/javascript"></script>
</head>
<body>
    <% 
        string formtitle = "メニュー";   
        Kaidou.Model.LoginModel login=(Kaidou.Model.LoginModel)Session["loginModel"];
    %>
    
    <!--#include file="public/title.aspx" --> 
	
	<br>		<table width="100%" border="0" cellspacing="0" cellpadding="0">			<tr>				<td width="30">　</td>				<td>					<%		if(login.isKumiaiin()){		//組合員用メニュー
            Kaidou.Bll.TRN_RepoconcentManager chk_RCManager = new Kaidou.Bll.TRN_RepoconcentManager( Resources.Resource.ResourceManager);	%>					<%						if(!login.isTagyousha()){						//他業者以外（本店/支店）					%>					<table width="40%" cellpadding="0" cellspacing="0">						<tr> 							<td width="100%" NOWRAP> 								<table width="100%">									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<%if(chk_RCManager.chkReportRate(login.Unioncode)){%><a href="seal/seal_order.aspx">確認シール注文</a><%}else{%>確認シール注文&nbsp<font size="12" color="red">(注)報告率が<%=chk_RCManager.getDefaultRate()%>%を下回っていますので注文出来ません。</font><%}%>											</h3> </td>									</tr>									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="seal/seal_order_search_kumi.aspx">確認シール注文検索</a></h3> 										</td>									</tr>								</table>							</td>						</tr>					</table>					<br>					<table width="40%" cellpadding="0" cellspacing="0">						<tr> 							<td width="100%" NOWRAP> 								<table width="100%">									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="seal/seal_report.aspx">確認シール貼付報告</a></h3> 										</td>									</tr>									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="seal/seal_report_search_kumi.aspx">確認シール貼付報告検索</a></h3></td>									</tr>								</table>							</td>						</tr>					</table>					<br>										<iframe src="seal/report_head.aspx" frameborder="0" scrolling=no width="100%" height="auto" ></iframe>					<iframe src="seal/report_unadmission.aspx" frameborder="0" scrolling=no width="100%" height="50px" ></iframe>										<%						}else{						//他業者					%>					<table width="40%" cellpadding="0" cellspacing="0">						<tr> 							<td width="100%" NOWRAP> 								<table width="100%">									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="seal/seal_report.aspx">確認シール貼付報告</a></h3> 										</td>									</tr>								</table>							</td>						</tr>					</table>					<%						}					%>	<%		}else{			bool isReceiptOrderTerminate = true;
            Kaidou.Bll.TRN_ReceiptOrderManager2 manager = Kaidou.Bll.TRN_ReceiptOrderManager2.checkout(Resources.Resource.ResourceManager);			if (login.isJimukyoku() && manager == null) {	%>					<table width="100%" border="0" cellspacing="0" cellpadding="0">						<tr> 							<td height="30"><font color="RED">							※確認シール受付の再処理中です。							</font></td>						</tr>						<tr> 							<td width="90%" NOWRAP height="5" >　</td>						</tr>					</table>			<%			}			if (login.isJimukyoku() && manager != null) {				// 事務局のとき、夜間バッチの注文受付処理に残りがあるかどうかチェック
                Kaidou.Persister.TRN_Juchu_UketukePersister perU = new Kaidou.Persister.TRN_Juchu_UketukePersister();				isReceiptOrderTerminate = perU.isReceiptOrderTerminate();			}			Kaidou.Bll.TRN_ReceiptOrderManager2.checkin( );			if (login.isJimukyoku() && !isReceiptOrderTerminate) {			%>					<table width="100%" border="0" cellspacing="0" cellpadding="0">						<tr> 							<td height="30"><font color="RED">							※確認シール受付処理が正常に終了していません。							</font></td>						</tr>						<tr> 							<td width="90%" NOWRAP height="5" >　</td>						</tr>					</table>					<table width="100%" cellpadding="2" cellspacing="2">						<tr> 							<td width="90%" NOWRAP > <h3>・&nbsp<a href="seal/seal_receipt_order.aspx">確認シール受付処理</a></h3> 							</td>						</tr>						<tr> 							<td width="40%" NOWRAP ><hr width="300" align="left" size="1"></td>						</tr>						<tr> 							<td width="90%" NOWRAP height="5" >　</td>						</tr>					</table>			<%			}			%>					<table width="40%" cellpadding="0" cellspacing="0">						<tr> 							<td width="100%" NOWRAP> 								<table width="100%" cellpadding="2" cellspacing="2">									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="seal/seal_order_search.aspx">確認シール注文検索</a></h3> 										</td>									</tr>									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="seal/seal_report_search.aspx">確認シール貼付報告検索</a></h3> 										</td>									</tr>			<%				if(login.isJimukyoku()) {			%>									<tr> 										<td width="90%" NOWRAP height="5" ><h3>・&nbsp<a href="seal/seal_cancel.aspx">確認シール破棄登録</a></h3></td>									</tr>									<tr> 										<td width="90%" NOWRAP height="5" ><h3>・&nbsp<a href="seal/seal_revoke.aspx">確認シール破棄取消登録</a></h3></td>									</tr>			<%			}			%>									<tr> 										<td width="90%" NOWRAP height="5" >　</td>									</tr>								</table>								<table width="100%" cellpadding="2" cellspacing="2">			<%				if(login.isOperator()) {				//オペレータのみ			%>									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="master/master_union.aspx">組合員マスタ登録</a> 											</h3> </td>									</tr>			<%				}			%>									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="master/master_union_search.aspx">組合員マスタ検索</a></h3></td>									</tr>								</table>								<table width="100%" cellpadding="2" cellspacing="2">			<%				if(login.isOperator()){				//オペレータのみ			%>									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="master/master_branch.aspx">支店マスタ登録</a> 											</h3> </td>									</tr>			<%				}			%>									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="master/master_branch_search.aspx">支店マスタ検索</a></h3></td>									</tr>								</table>								<table width="100%" cellpadding="2" cellspacing="2">			<%				if(login.isOperator()){				//オペレータのみ			%>			<!--									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="master_hall.jsp">ホールマスタ登録</a> 											</h3> </td>									</tr>									<tr>			--> 			<%				}			%>			<!--										<td width="90%" NOWRAP > <h3>・&nbsp<a href="master_hall_search.jsp">ホールマスタ検索</a> 											</h3></td>									</tr>			-->								</table>								<table width="100%" cellpadding="2" cellspacing="2">			<%				if(login.isOperator()){				//オペレータのみ			%>									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="master/master_trader.aspx">設置業者マスタ登録</a> 											</h3> </td>									</tr>			<%				}			%>									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="master/master_trader_search.aspx">設置業者マスタ検索</a> 											</h3> </td>									</tr>								</table>			<%--				if(login.isOperator()){				//オペレータのみ								<table width="100%" cellpadding="2" cellspacing="2">									<tr> 										<td width="90%" NOWRAP height="5" >　</td>									</tr>									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="faxocr_exec.jsp">FAX/OCR処理</a></h3> 										</td>									</tr>								</table>				}			--%>			<%				if(login.isOperator() || login.isJimukyoku()){				//オペレータ・事務局のみ			%>								<table width="100%" cellpadding="2" cellspacing="2">									<tr> 										<td width="90%" NOWRAP height="5" >　</td>									</tr>									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="seal/seal_report_represen.aspx">確認シール貼付報告（代理報告）</a></h3> 										</td>									</tr>									<tr> 										<td width="90%" NOWRAP > <h3>・&nbsp<a href="seal/seal_order_represen.aspx">確認シール注文（代理注文）</a></h3> 										</td>									</tr>								</table>			<%				}			%>							</td>						</tr>					</table>	<%		}	%>					<br>				</td>			</tr>		</table>
		
		<form id="L" runat="server">		<table width="100%" border="0" cellspacing="0" cellpadding="0">			<tr>				<td width="30">　</td>				<td>					<table width="300" border="0" cellspacing="1" cellpadding="3">						<tr> 							<td> <br>																<asp:button ID="lo" runat="server" text="ログアウト" onclick="logout" />							</td>						</tr>					</table>				</td>			</tr>		</table>		</form>
<!--#include file="public/footer.aspx" --> </body>
</html>